package com.javasea.netty.har.common.utils;

import com.javasea.netty.har.common.entity.Heart;

/**
 *@ClassName BeanGenerator
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2021/3/18 0018 22:10
 */
public class BeanGenerator {

    public static Heart genHeart(String nioClientCode){
        Heart heart = new Heart();
        heart.setNioClientCode(nioClientCode + "__" + GetIpUtil.getLocalIp());
        heart.setHeart("ping");
        return heart;
    }

}
